package com.nidu.demo.user.dto;

import com.nidu.demo.base.BasePageQry;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Set;

/**
 * 用户分页查询对象
 *
 * @author auto
 */
@Data
@Schema(description = "用户分页查询对象")
@EqualsAndHashCode(callSuper = true)
public class UserPageQry extends BasePageQry {

    /**
     * 用户名
     */
    @Schema(description = "用户名", example = "admin")
    private String username;

    /**
     * 手机号
     */
    @Schema(description = "手机号", example = "13800138000")
    private String mobile;

    /**
     * 手机号
     */
    @Schema(description = "邮箱", example = "admin@example.com")
    private String email;

    /**
     * 公司ID
     */
    @Schema(description = "公司ID", example = "1")
    private Long companyId;

    /**
     * 部门ID
     */
    @Schema(description = "部门ID", example = "1")
    private Long deptId;

    /**
     * 用户ID列表（内部使用，用于部门查询时的用户过滤）
     */
    @Schema(hidden = true)
    private Set<Long> userIds;

} 